package com.catchdays.db.model;

import java.util.Date;

import lombok.Data;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@Data
@DatabaseTable(tableName = "catch_days")
public class CatchDaysModel {
	@DatabaseField(generatedId = true)
	private int id;

	@DatabaseField
	private String facebookId;

	@DatabaseField
	private String title;

	@DatabaseField
	private String memo;

	@DatabaseField
	private int anniversaryYear;

	@DatabaseField
	private int anniversaryMonth;

	@DatabaseField
	private int anniversaryDay;

	@DatabaseField
	private int anniversaryType; // 1='생일', 2='결혼기념일', 3='제사'

	@DatabaseField
	private int lunarYn; // 0='N', 1='Y'

	@DatabaseField
	private int favoriteYn; // 0='N', 1='Y'

	@DatabaseField
	private Date regDate;

	@DatabaseField
	private Date modDate;
}
